﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ResumeSearchAdvanced.aspx.cs"
    MasterPageFile="~/Admin.master" Inherits="ResumeSearchAdvanced" %>

<asp:Content ContentPlaceHolderID="cphMainBody" runat="server">
    <table width="100%">
        <tr>
            <td valign="bottom" class="leftheading" colspan="2" align="left">
                <img src="images/headingbullet.gif" width="14" height="14">
                ADVANCED RESUME SERACH
            </td>
        </tr>
        <tr>
            <td class="leftsectionunderline" colspan="2">
                <img src="images/spacer.gif" width="1" height="1">
            </td>
        </tr>
        <tr>
            <td class="tdstyle" colspan="2" height="6">
            </td>
        </tr>
        <tr>
            <td class="tdstyle" style="width: 25%;" align="right">
                Skills :
            </td>
            <td class="tdstyle" style="width: 75%;">
                <asp:TextBox class="txt" ID="txtKeySkills" runat="server">
                </asp:TextBox>
                <asp:Label CssClass="lbl" ID="lblMsg" runat="Server" ForeColor="Red" Text="Enter Skills by comma separated ( , )  Ex: asp.net,c#,vb.net ">
                </asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdstyle" style="width: 25%;" align="right">
                Industry Name :
            </td>
            <td class="tdstyle" style="width: 75%;">
                <asp:TextBox class="txt" ID="txtIndustry" runat="server">
                </asp:TextBox>
                <asp:Label CssClass="lbl" ID="lblMsgI" runat="Server" ForeColor="Red" Text="Enter Industry by comma separated ( , )  Ex: wipro,infosys ">
                </asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdstyle" style="width: 25%;" align="right">
                Functional Area :
            </td>
            <td class="tdstyle" style="width: 75%;">
                <asp:DropDownList CssClass="ddl" ID="ddlFunctionalArea" runat="server">
                </asp:DropDownList>
                <asp:RequiredFieldValidator runat="server" ID="reqFunctionalArea" ControlToValidate="ddlFunctionalArea"
                    ValidationGroup="Search" InitialValue="0" ErrorMessage="Please select functional area!" />
            </td>
        </tr>
        <tr>
            <td class="tdstyle" align="right">
                Experience(Months) :
            </td>
            <td class="tdstyle">
                <asp:DropDownList CssClass="ddl" ID="ddlMinExpRequired" runat="server">
                </asp:DropDownList>
                <asp:RequiredFieldValidator runat="server" ID="reqExperienceRequired" ControlToValidate="ddlMinExpRequired"
                    ValidationGroup="Search" ErrorMessage="Please select min experience required!" />
            </td>
        </tr>
        <tr>
            <td class="tdstyle" align="right">
                Job Location :
            </td>
            <td class="tdstyle">
                <asp:DropDownList CssClass="ddl" ID="ddlJobLocation" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="tdstyle">
            </td>
            <td class="tdstyle">
                <asp:Button class="CSSButton" ID="btnAdvancedSeach" runat="server" Text="Search"
                    OnClick="btnAdvancedSeach_Click" ValidationGroup="Search" />
                <asp:Button class="CSSButton" ID="btnClearSearch" Style="margin-left: 10px;" runat="server"
                    Text="Clear Search" OnClick="btnClearSearch_Click" />
            </td>
        </tr>
        <tr>
            <td class="tdstyle">
            </td>
            <td class="tdstyle">
                <asp:Label CssClass="lbl" ID="lblErrMsg" runat="Server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdstyle">
            </td>
            <td class="tdstyle">
            </td>
        </tr>
        <tr>
            <td class="tdstyle" colspan="2">
                <asp:GridView ID="grdAdvancedSearch" runat="server" AutoGenerateColumns="false" CssClass="griddiv" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" OnRowCommand="grdAdvancedSearch_RowCommand">
                    <Columns>
                        <asp:BoundField ItemStyle-CssClass="griditem" DataField="CANDIDATE_NAME" HeaderText="Candidate Name" />
                        <asp:BoundField ItemStyle-CssClass="griditem" DataField="SKILL_SET" HeaderText="Skill Set" />
                        <asp:BoundField ItemStyle-CssClass="griditem" DataField="EMAIL" HeaderText="Email" />
                        <asp:BoundField ItemStyle-CssClass="griditem" DataField="MOBILE" HeaderText="Mobile" />
                        <asp:BoundField ItemStyle-CssClass="griditem" DataField="CURRENT_COMPANY" HeaderText="Current Company" />
                        <asp:TemplateField ItemStyle-CssClass="griditem" HeaderText="Download CV">
                            <ItemTemplate>
                                <center>
                                    <asp:LinkButton ID="lnkViewProfile" runat="Server" Text="View Profile" CommandName="ViewCV" CssClass="addnewlink"
                                        CommandArgument='<%# Eval("USER_ID") %>'></asp:LinkButton>
                                </center>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle CssClass="pagingstyle" />
                    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True"  />
                    <HeaderStyle CssClass="greedhead" Font-Bold="True" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
